package com.demo.resourcecode.c5;

public class TestConstruct {

	private String name;
	private Integer age;

	public TestConstruct() {
		super();
		System.out.println("init");
	}
	public TestConstruct(String name) {
		super();
		this.name = name;
		System.out.println("init name");
	}
	public TestConstruct(String name, Integer age) {
		super();
		this.name = name;
		this.age = age;
		System.out.println("init name age");
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}

}
